﻿using Abp.AspNetCore.Mvc.Views;
using Abp.Runtime.Session;
using Microsoft.AspNetCore.Mvc.Razor.Internal;
using Mt.Site.Core.Navigations;
using Mt.Site.Core.Url;

namespace Mt.Site.Web.Views
{
    public abstract class MtSiteFrontendRazorPage<TModel> : AbpRazorPage<TModel>
    {
        [RazorInject]
        public IAbpSession AbpSession { get; set; }

        [RazorInject]
        public IUrlGetter UrlGetter { get; set; }

        [RazorInject]
        public IWebUrlService WebUrlService { get; set; }

        [RazorInject]
        public IMenuStore MenuStore { get; set; }


        protected MtSiteFrontendRazorPage()
        {
            LocalizationSourceName = MtSiteConsts.LocalizationFrontendSourceName;
        }
    }
}

